[INFO] cloning repository https://github.com/IvySeo/decrypt_file
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IvySeo/decrypt_file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fdecrypt_file", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fdecrypt_file'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 35a422b6bdd755e5273b2d57c1a7756505a36994
[INFO] building IvySeo/decrypt_file against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fdecrypt_file" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/IvySeo/decrypt_file on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/IvySeo/decrypt_file
[INFO] finished tweaking git repo https://github.com/IvySeo/decrypt_file
[INFO] tweaked toml for git repo https://github.com/IvySeo/decrypt_file written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/IvySeo/decrypt_file already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rusoto_core v0.44.0
[INFO] [stderr]   Downloaded standback v0.2.9
[INFO] [stderr]   Downloaded async-trait v0.1.35
[INFO] [stderr]   Downloaded rusoto_s3 v0.44.0
[INFO] [stderr]   Downloaded rusoto_sqs v0.44.0
[INFO] [stderr]   Downloaded time v0.2.16
[INFO] [stderr]   Downloaded rusoto_credential v0.44.0
[INFO] [stderr]   Downloaded rusoto_signature v0.44.0
[INFO] [stderr]   Downloaded openssh-keys v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 79d0ba3ae7fab42cedc89e13bf547d50dfea643da2bc1b20cd76873f5f45f7c1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "79d0ba3ae7fab42cedc89e13bf547d50dfea643da2bc1b20cd76873f5f45f7c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79d0ba3ae7fab42cedc89e13bf547d50dfea643da2bc1b20cd76873f5f45f7c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79d0ba3ae7fab42cedc89e13bf547d50dfea643da2bc1b20cd76873f5f45f7c1", kill_on_drop: false }`
[INFO] [stdout] 79d0ba3ae7fab42cedc89e13bf547d50dfea643da2bc1b20cd76873f5f45f7c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5dc20c821284f878987d4328665ec3a02e75ea174fac0dd60db7219457be2659
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5dc20c821284f878987d4328665ec3a02e75ea174fac0dd60db7219457be2659", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.16
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling proc-macro-nested v0.1.5
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling once_cell v1.4.0
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling curl v0.4.29
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling indexmap v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling addr2line v0.12.1
[INFO] [stderr]    Compiling xml-rs v0.3.6
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling standback v0.2.9
[INFO] [stderr]    Compiling time v0.2.16
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]    Compiling generic-array v0.8.3
[INFO] [stderr]    Compiling rusoto_core v0.44.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling crypto-mac v0.4.0
[INFO] [stderr]    Compiling libflate v0.1.27
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]    Compiling curl-sys v0.4.31+curl-7.70.0
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling filetime v0.2.10
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling hmac v0.4.2
[INFO] [stderr]    Compiling sha2 v0.6.0
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling backtrace v0.3.48
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling tar v0.4.28
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling openssh-keys v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling error-chain v0.10.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling libsodium-sys v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]    Compiling pin-project-internal v0.4.20
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.35
[INFO] [stderr]    Compiling tokio v0.2.21
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling pin-project v0.4.20
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling h2 v0.2.5
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling hyper v0.13.6
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling serde_json v1.0.53
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde-xml-rs v0.2.1
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling rust-s3 v0.8.2
[INFO] [stderr]    Compiling rusoto_credential v0.44.0
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling rusoto_signature v0.44.0
[INFO] [stderr]    Compiling rusoto_sqs v0.44.0
[INFO] [stderr]    Compiling rusoto_s3 v0.44.0
[INFO] [stderr]    Compiling sodiumoxide v0.2.5
[INFO] [stderr]    Compiling decrypt_file v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BufWriter`
[INFO] [stdout]   --> src/decrypt.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{BufWriter, Write};
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/decrypt.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use uuid::Uuid; 
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/serde_json.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/serde_json.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Result, Value};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]   --> src/open_file.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let reader = BufReader::new(file);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/open_file.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |     for (index, line) in reader.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/open_file.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |     for (index, line) in reader.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m7`
[INFO] [stdout]   --> src/serde_json.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let m7: Vec<M7Small> = serde_json::from_str(m7data)?;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_m7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `downloaded`
[INFO] [stdout]   --> src/aws_s3.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     Ok(downloaded) =>{
[INFO] [stdout]    |        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downloaded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decrypted`
[INFO] [stdout]   --> src/aws_s3.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 Ok(decrypted) => {
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `holding_deleted`
[INFO] [stdout]   --> src/aws_s3.rs:95:36
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   Ok(holding_deleted) => {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_holding_deleted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uuid`
[INFO] [stdout]    --> src/aws_s3.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let uuid = &ListBucketResult.contents[1].key;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_downloaded`
[INFO] [stdout]    --> src/aws_s3.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let file_downloaded = write_file_in_local(file_body.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_downloaded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/aws_s3.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let result = client
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/open_file.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut sk = line.unwrap(); // Ignore errors.
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `region`
[INFO] [stdout]   --> src/aws_s3.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     region: Region,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bucket_name`
[INFO] [stdout]   --> src/aws_s3.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     bucket_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bucket_deleted`
[INFO] [stdout]   --> src/aws_s3.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     bucket_deleted: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused attribute
[INFO] [stdout]  --> src/serde_json.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         block_on(ran);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]  --> src/open_file.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn open_encrypted_file(FILE_NAME_UUID: &str) -> Vec<u8> {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]   --> src/decrypt.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn decrypt_function(FILE_NAME_UUID: &str) -> Result<()>{
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]   --> src/decrypt.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 FILE_NAME_UUID: &str
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]    --> src/decrypt.rs:109:40
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn write_file(encrypted:  Vec<u8>, FILE_NAME_UUID: &str) -> std::io::Result<()>{
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/aws_s3.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | /     Runtime::new()
[INFO] [stdout] 75 | |         .expect("Failed to create Tokio runtime")
[INFO] [stdout] 76 | |         .block_on(copy_file_from_holding_to_backup_result);
[INFO] [stdout]    | |___________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ListBucketResult` should have a snake case name
[INFO] [stdout]    --> src/aws_s3.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 |     for (ListBucketResult, code) in results {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `list_bucket_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 26s
[INFO] running `Command { std: "docker" "inspect" "5dc20c821284f878987d4328665ec3a02e75ea174fac0dd60db7219457be2659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dc20c821284f878987d4328665ec3a02e75ea174fac0dd60db7219457be2659", kill_on_drop: false }`
[INFO] [stdout] 5dc20c821284f878987d4328665ec3a02e75ea174fac0dd60db7219457be2659
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3649b8b9d1542d5198b3432cdfb8dc5105657cbd5e15a50096a5aeeedebe0104
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3649b8b9d1542d5198b3432cdfb8dc5105657cbd5e15a50096a5aeeedebe0104", kill_on_drop: false }`
[INFO] [stderr]    Compiling decrypt_file v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BufWriter`
[INFO] [stdout]   --> src/decrypt.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{BufWriter, Write};
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/decrypt.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use uuid::Uuid; 
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/serde_json.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/serde_json.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{Result, Value};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]   --> src/open_file.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let reader = BufReader::new(file);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/open_file.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |     for (index, line) in reader.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/open_file.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |     for (index, line) in reader.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m7`
[INFO] [stdout]   --> src/serde_json.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let m7: Vec<M7Small> = serde_json::from_str(m7data)?;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_m7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `downloaded`
[INFO] [stdout]   --> src/aws_s3.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     Ok(downloaded) =>{
[INFO] [stdout]    |        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downloaded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decrypted`
[INFO] [stdout]   --> src/aws_s3.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 Ok(decrypted) => {
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `holding_deleted`
[INFO] [stdout]   --> src/aws_s3.rs:95:36
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   Ok(holding_deleted) => {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_holding_deleted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uuid`
[INFO] [stdout]    --> src/aws_s3.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let uuid = &ListBucketResult.contents[1].key;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_downloaded`
[INFO] [stdout]    --> src/aws_s3.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let file_downloaded = write_file_in_local(file_body.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_downloaded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/aws_s3.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let result = client
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/open_file.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut sk = line.unwrap(); // Ignore errors.
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `region`
[INFO] [stdout]   --> src/aws_s3.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     region: Region,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bucket_name`
[INFO] [stdout]   --> src/aws_s3.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     bucket_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bucket_deleted`
[INFO] [stdout]   --> src/aws_s3.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     bucket_deleted: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused attribute
[INFO] [stdout]  --> src/serde_json.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         block_on(ran);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]  --> src/open_file.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn open_encrypted_file(FILE_NAME_UUID: &str) -> Vec<u8> {
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]   --> src/decrypt.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn decrypt_function(FILE_NAME_UUID: &str) -> Result<()>{
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]   --> src/decrypt.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 FILE_NAME_UUID: &str
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name
[INFO] [stdout]    --> src/decrypt.rs:109:40
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn write_file(encrypted:  Vec<u8>, FILE_NAME_UUID: &str) -> std::io::Result<()>{
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/aws_s3.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | /     Runtime::new()
[INFO] [stdout] 75 | |         .expect("Failed to create Tokio runtime")
[INFO] [stdout] 76 | |         .block_on(copy_file_from_holding_to_backup_result);
[INFO] [stdout]    | |___________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ListBucketResult` should have a snake case name
[INFO] [stdout]    --> src/aws_s3.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 |     for (ListBucketResult, code) in results {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `list_bucket_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.05s
[INFO] running `Command { std: "docker" "inspect" "3649b8b9d1542d5198b3432cdfb8dc5105657cbd5e15a50096a5aeeedebe0104", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3649b8b9d1542d5198b3432cdfb8dc5105657cbd5e15a50096a5aeeedebe0104", kill_on_drop: false }`
[INFO] [stdout] 3649b8b9d1542d5198b3432cdfb8dc5105657cbd5e15a50096a5aeeedebe0104
